﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:if test="${param.module != 'audit' }">
<div class="form-horizontal bottom-margin-20">
    <div class="form-group">
      <label class="col-xs-2 control-label">兴趣标签：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">
          <c:forEach var="interestTagCode" items="${customer.customerTag.stringInterestTagCodes}">
            <label class="label label-outline label-info">${persist.interestTags[interestTagCode].name}</label>
          </c:forEach>
        </p> 
      </div>
      <label class="col-xs-2 control-label">生活标签：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">
          <c:forEach var="lifeTagCode" items="${customer.customerTag.stringLifeTagCodes}">
            <label class="label label-outline label-info">${persist.lifeTags[lifeTagCode].name}</label>
          </c:forEach> 
        </p>
      </div>
    </div>
    <div class="form-group">
	    <label class="col-xs-2 control-label">性别标签：</label>
	    <div class="col-xs-4 pull-left">
	      <p class="form-control-static">
	        <label class="label label-outline label-info">${persist.sexTags[customer.customerTag.stringSexTag].name}</label>
	      </p> 
	    </div>
      <label class="col-xs-2 control-label">地域标签：</label>
      <div class="col-xs-4 pull-left">
        <p class="form-control-static">
          <label class="label label-outline label-info">${persist.areaTags[customer.customerTag.stringAreaTag].name}</label>
        </p> 
      </div>
    </div>
    <div class="form-group">
      <label class="col-xs-2 control-label">年龄标签：</label>
      <div class="col-xs-8 pull-left">
        <p class="form-control-static">
          <label class="label label-outline label-info">${persist.ageTags[customer.customerTag.stringAgeTag].name}</label>
        </p> 
      </div>
    </div>

    <div class="form-group">
      
    </div>
    <c:if test="${customer.source.alphabet eq 'W' }">
	    <div class="form-group">
	      <label class="col-xs-2 control-label">用户头像：</label>
	      <div class="col-xs-4 pull-left">
	        <p class="form-control-static"><img src="${ctx.qiniu}/${customer.profile.avatar}!200"></p>
	      </div>
	    </div>
    </c:if>
</div>
</c:if>

<c:if test="${param.module == 'audit' }">
<div class="form-horizontal bottom-margin-20">
    <div class="form-group">
      <label class="col-xs-3 control-label">兴趣标签：</label>
      <div class="col-xs-7 pull-left">
        <p class="form-control-static">
          <c:forEach var="interestTagCode" items="${customer.customerTag.stringInterestTagCodes}">
            <label class="label label-outline label-info">${persist.interestTags[interestTagCode].name}</label>
          </c:forEach>
        </p> 
      </div>
      <label class="col-xs-3 control-label">生活标签：</label>
      <div class="col-xs-7 pull-left">
        <p class="form-control-static">
          <c:forEach var="lifeTagCode" items="${customer.customerTag.stringLifeTagCodes}">
            <label class="label label-outline label-info">${persist.lifeTags[lifeTagCode].name}</label>
          </c:forEach> 
        </p>
      </div>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">性别标签：</label>
      <div class="col-xs-7 pull-left">
        <p class="form-control-static">
          <label class="label label-outline label-info">${persist.sexTags[customer.customerTag.stringSexTag].name}</label>
        </p> 
      </div>
      <label class="col-xs-3 control-label">地域标签：</label>
      <div class="col-xs-7 pull-left">
        <p class="form-control-static">
          <label class="label label-outline label-info">${persist.areaTags[customer.customerTag.stringAreaTag].name}</label>
        </p> 
      </div>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">年龄标签：</label>
      <div class="col-xs-7 pull-left">
        <p class="form-control-static">
          <label class="label label-outline label-info">${persist.ageTags[customer.customerTag.stringAgeTag].name}</label>
        </p> 
      </div>
    </div>

    <div class="form-group">
      
    </div>
    <c:if test="${customer.source.alphabet eq 'W' }">
      <div class="form-group">
        <label class="col-xs-3 control-label">用户头像：</label>
        <div class="col-xs-7 pull-left">
          <p class="form-control-static"><img src="${ctx.qiniu}/${customer.profile.avatar}!200"></p>
        </div>
      </div>
    </c:if>
</div>
</c:if>